"""
================================
Python经典编程100例
================================
"""

#第1：判断正数、复数还是0

x=float(input("请输入一个数："))
if x>0:
        print(x, "数为正数")
elif x<0:
        print(x, "数为负数")
else:
        print(x,"数为0")